tools: init.d/xencommons: Wait for xenstored to start before setting dom0 name
authorIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 29 Jun 2010 14:07:17 +0000 (15:07 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 29 Jun 2010 14:07:17 +0000 (15:07 +0100)
commitf706d9e9af66284a22cc9be5708b1ba28c083831
tree620479246b76cc55c339319f9836891f7ace2f3e
parent8209429099cae5c23297e0d486a9651d3ee1d6f9
tools: init.d/xencommons: Wait for xenstored to start before setting dom0 name

On one of my boxes, the xenstore-write setting dom0's name starts
before xenstored is actually ready to handle the connection properly,
resulting in the name set failing.  Wait for xenstored to be up and
responding to reads before continuing, timing out after 30 seconds.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
tools/hotplug/Linux/init.d/xencommons